# -*- coding: utf-8 -*-
__author__ = 'sergey'

try:
    # Python 3
    from socketserver import ThreadingUDPServer as Server
except ImportError:
    # Python 2
    from SocketServer import ThreadingUDPServer as Server

from picklerpc.sendmsg import max_packet_size

Server.request_queue_size = 64000
Server.allow_reuse_address = True
Server.max_packet_size = max_packet_size